<template>
    <div class="article_serach">
        <div class="home-header">
            <div class="home-index-search">
                <i class="iconfont icon-sousuo"></i>
                <input type="text" placeholder="搜索">
                <i class="iconfont icon-guanbi"></i>
            </div>

            <span class="article_search_cancel">取消</span>
        </div>


         <!-- 历史记录 -->
        <div class="history_record">
            <h2>历史搜索<i class="iconfont icon-guanbi"></i></h2>
            <div class="history_cont">
                <div class="history_item">大明寺</div>
                <div class="history_item">大明寺</div>
                <div class="history_item">大明寺</div>
                <div class="history_item">大明寺</div>
                <div class="history_item">大明寺</div>
            </div>
        </div>
        <!-- 历史记录end -->

        <van-cell title="什么是唐卡？" is-link></van-cell>
        <van-cell title="缘起咒(丹真绒布仁波切)" is-link></van-cell>

    </div>
</template>

<style scoped>
.article_search_cancel {
    font-family: PingFangSC-Regular;
    font-size: 0.34rem;
    color: #FFF;
}

.history_cont {
    display: flex;
    flex-wrap: wrap;
}

.history_item {
    min-width: 1.46rem;
    height: 0.46rem;
    background: #E9EAEC;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: PingFangSC-Regular;
    font-size: 0.28rem;
    color: #333;
    margin-right:0.16rem;
    margin-bottom:0.16rem;
}

.article_serach .home-header {
    height: 1rem;
    width:100%;
    background-image: linear-gradient(-90deg, #B3A277 0%, #AB946C 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding:0 0.14rem 0 0.24rem;
}

.article_serach .home-index-search {
    width:6.2rem;
    height: 0.6rem;
    background-color:#fff;
    position: relative;
    
    box-sizing: border-box;
}

.home-index-search i.icon-sousuo{
    position: absolute;
    top:0.14rem;
    left:0.28rem;
    color:#B2B2B2;
}


.home-index-search i.icon-guanbi {
    position: absolute;
    top:0.14rem;
    right:0.28rem;
    color:#B2B2B2;
}

.home-index-search input {
    border:none;
    width:100%;
    height: 0.6rem;
    font-size:0.28rem;
    padding:0 0.68rem 0 0.68rem;
    box-sizing: border-box;
    color:#666
}

.history_record {
    width: 7.5rem;
    background-color: #fff;
    min-height: 100vh;
    padding:0 0.3rem;
    box-sizing: border-box;
    
}

.history_record h2 {
    font-family: PingFangSC-Medium;
    font-size: 0.34rem;
    color: #333;
    justify-content: space-between;
    display: flex;
    text-align: center;
    width:100%;
    padding:0.26rem 0;
}


.song-list-cont {
    background-color: #fff;
    border-top:1px solid #F9F9F8;
    border-bottom:1px solid #F9F9F8;
    width:100%;
    padding:0 0.3rem;
    box-sizing: border-box;
}


</style>
